namespace FlowerShop.Core.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Twoker")]
    public partial class Twoker
    {
        [Key]
        public int W_id { get; set; }

        [Required]
        [StringLength(50)]
        public string t_name { get; set; }

        [Required]
        [StringLength(50)]
        public string sex { get; set; }

        public int age { get; set; }

        public int saler { get; set; }

        public int department { get; set; }

        [Required]
        [StringLength(50)]
        public string w_add { get; set; }

        public int phone { get; set; }

        [StringLength(50)]
        public string gerenjiesao { get; set; }

        public DateTime? ruzhiriqi { get; set; }

        public DateTime? shengri { get; set; }

        public string Image { get; set; }
    }
}
